@import "@/common/constants/StyleConst.scss";

.projectsItem-container {
  margin-bottom: 2.4%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;

  .disabled {
    cursor: no-drop;
  }

  &.small {
    .toolbar-right {
      width: 100%;
      display: flex;
      flex-direction: column;

      &>div {
        flex: 1;
      }

      .card-title {
        font-size: 14px;
        line-height: normal;
      }

      .item-count {
        font-size: 12px;
      }

      .toolbar-right-progress {
        margin: 8px 0;
      }
    }
  }

  .v-toolbar {
    height: auto !important;

    .v-toolbar__content {
      height: auto !important;
    }
  }

  .toolbar-left {
    display: flex;
    flex-direction: column;
    text-align: left;
    min-width: 0;

    .card-title {
      max-width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      padding: 0;
    }

    .toolbar-subtitle {
      padding: 0;
      height: 24px;
      width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      position: relative;
      top: -2px;
      font-size: 9px;
    }

  }

  .item-count>b {
    margin: 0 4px;
  }

  .item-count>b:first-child {
    margin-left: 0;
  }

  .toolbar-right {
    min-width: 140px;

    .toolbar-right-progress {
      display: flex;
      flex-direction: row;
      justify-content: flex-end;

      .progress-linear {
        max-width: 88px;
        border-radius: 8px;
        margin-right: 4px;
      }
    }
  }
}


.action-menu {
  border-radius: 8px;

  .action-list {
    text-align: left;
    padding: 0;

    .list-item {
      min-height: 40px;

      &:hover {
        background-color: #F4F3F3;
        cursor: pointer;
      }
    }

    .v-list-item__icon.v-list-item__icon:last-of-type:not(:only-child) {
      margin: 0;
      margin-right: 16px;

      .icon {
        font-size: 16px;
      }

      .delete-icon {
        font-size: 20px;
      }
    }

    .text {
      font-size: 14px;
    }
  }
}